<%@ page language="java" pageEncoding="UTF-8"%>

<div ng-controller="UserMailPreController">
	<h3>{{mail.title}}</h3>
	<hr/>
	<ol class="breadcrumb">
		<li>
			发送于 {{mail.create_time | formatDate}}
		</li>
		<li>
			<button type="button" class="btn btn-success btn-xs"  ng-click="setRead(mail)" ng-show="!mail.read"><i class="glyphicon glyphicon-ok-sign"></i> 已读</button>
			<button type="button" class="btn btn-danger btn-xs"  ng-click="remove(mail)" ng-show="mail.target.id!=0"><i class="glyphicon glyphicon-remove-sign"></i> 删除</button>
		</li>
	</ol>
	<source model="mail.content"></source>
</div>